* {
  margin: 0;
  padding: 0;
}

body{
  background-color: #f3f5f7;
}

li{
  list-style: none;
}

a{
  text-decoration: none;
}

input{
  outline: none;
}

.w{
  width: 1200px;
  margin: auto;
}

/* 清除浮动 */
.clearfix:before,.clearfix:after {
  content:"";
  display:table; 
}
.clearfix:after {
  clear:both;
}
.clearfix {
  *zoom:1;
}   

/* 头部 */
.header{
  height: 42px;
  /* background-color: pink; */
  margin: 30px auto;
}

/* logo */
.logo{
  float: left;
  width: 198px;
  height: 42px;
}

/* 导航栏 */
.nav{
  float: left;
  margin-left: 60px;
}

.nav ul li {
  float: left;
  margin: 0 15px;
}

.nav ul li a{
  display: block;
  height: 42px;
  padding: 0 10px;
  line-height: 42px;
  font-size: 18px;
  color: #050505;
}

.nav ul li a:hover{
  border-bottom: 2px solid #00a4ff;
}

/* 搜索模块 */
.search {
  float: left;
  width: 412px;
  height: 42px;
  margin-left: 70px;
}

.search input{
  float: left;
  width: 345px;
  height: 40px;
  border: 1px solid #00a4ff;
  border-right: 0;
  color: #bfbfbf;
  font-size: 14px;
  padding-left: 15px;
}

.search button{
  float: left;
  width: 50px;
  height: 42px;
  border: 0;
  background: url(./images/btn.png);
}

/* 用户模块 */
.user{
  float: right;
  line-height: 42px;
  margin-right: 30px;
  font-size: 14px;
  color: #666;

}

/* banner */
.banner{
  height: 420px;
  background-color: #1c036c;
}

.banner .w{
  height: 420px; 
  background: url(./images/banner2_20190819_210028.png);
}

/* 左侧导航 */
.subnav{
  float: left;
  width: 190px;
  height: 420px;
  background: rgba(0, 0, 0, .3);
}

.subnav ul li {
  height: 45px;
  line-height: 45px;
  padding: 0 20px;
}

.subnav ul li a {
  font-size: 14px;
  color: #fff;
}

.subnav ul li a span{
  float: right;
}

/* 右侧课程 */
.course{
  float: right;
  width: 230px;
  height: 300px;
  margin-top: 50px;
  background-color: #fff;
}

.course h2{
  height: 48px;
  background-color: #9bceea;
  color: #fff;
  text-align: center;
  line-height: 48px;
  font-size: 18px;
}

.bd{
  padding: 0 20px;
}

.bd ul li {
  padding: 15px 0;
  border-bottom: 1px solid #ccc;
}

.bd ul li h4{
  font-size: 16px;
  color: #4e4e4e;
}

.bd ul li p{
  font-size: 12px;
  color: #a5a5a5;
}

.bd .more{
  display: block;
  height: 38px;
  border: 1px solid #00a4ff;
  text-align: center;
  line-height: 38px;
  color: #00a4ff;
  font-size: 16px;
  font-weight: 700;
  margin-top: 5px;
}

/* 精品推荐 */
.goods{
  height: 60px;
  background-color: #fff;
  margin-top: 10px;
  box-shadow: 0 2px 3px 3px rgb(0 0 0 / 10%);
  line-height: 60px;
}

.goods h3{
  float: left;
  margin-left: 30px;
  font-size: 16px;
  color: #00a4ff;
}

.goods ul {
  float: left;
  margin-left: 30px;
}

.goods ul li {
  float: left;
}

.goods ul li a {
  padding: 0 30px;
  font-size: 16px;
  color: #050505;
  border-left: 1px solid #ccc;
}

.goods > a {
  float: right;
  margin-right: 30px;
  font-size: 14px;
  color: #00a4ff;
}

/* 推荐课程 */
.recommend {
  margin-top: 30px;
}

.recommend-hd {
  height: 45px;
}

.recommend-bd ul {
  width: 1225px;
}
.recommend-hd h3 {
  float: left;
  color: #494949;
  font-size: 20px;
}

.recommend-hd a {
  float: right;
  font-size: 12px;
  color: #a5a5a5;
  margin-top: 10px;
  margin-right: 30px;
}

.recommend-bd img {
  width: 100%;
}

.recommend-bd ul li {
  float: left;
  width: 228px;
  height: 270px;
  background-color: #fff;
  margin: 0 15px 15px 0;
}

.recommend-bd ul li h4 {
  font-size: 14px;
  color: #050505;
  margin: 20px 20px 25px;
  font-weight: 400;
}

.info{
  margin: 0 20px 0 25px;
  font-size: 12px;
  color: #999;
}

.info span{
  color: #ff7c2d;
}

/* 底部模块 */
.footer{
  height: 415px;
  background-color: #fff;
}

.footer .w {
  padding-top: 35px;
}

.copyright {
  float: left;
}

.copyright p {
  font-size: 12px;
  color: #666;
  margin: 20px 0 15px 0;
}

.copyright a {
  display: block;
  width: 118px;
  height: 33px;
  border: 1px solid #00a4ff;
  text-align: center;
  line-height: 33px;
  color: #00a4ff;
  font-size: 16px;
}

.links{
  float: right;
}

.links dl{
  float: left;
  margin-left: 100px;
}

.links dl dt {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.links dl dd a {
    color: #333;
    font-size: 12px;
}
